import request from '@/utils/request'
// 查询设备告警列表
export function listDeviceAlarm(query) {
  return request({
    url: '/device/deviceAlarm/page',
    method: 'get',
    params: query
  })
}

// 查询设备告警详细
export function getDeviceAlarm(id) {
  return request({
    url: '/device/deviceAlarm/info?id='+id,
    method: 'get'
  })
}

// 查询设备告警列表
export function alarmListByImei(query) {
  return request({
    url: '/device/deviceAlarm/alarmListByImei',
    method: 'get',
    params: query
  })
}
